struct Data {
    int x, y;
    char a[10];
} data;

#define y  Y

int foo()
{
    int n;
    n = data.y;
    n = data.a[n];
}